package org.zfes.snowier.cloud.zbss.metting.biz.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.metting.biz.model.TenantMember;
public interface ITenantMemberService{

	 Optional<TenantMember> loadTenantMemberById(Long id);
	
	 void createTenantMember(TenantMember tenantMember);
	
	 void updateTenantMember(TenantMember tenantMember);

	 void deleteTenantMember(Long id);
	
	 DataSet loadTenantMemberDataSet(Map<String, Object> params);
	 
	Optional<TenantMember> loadByAccount(java.lang.String account);
	
	Optional<TenantMember> loadByPhone(java.lang.String phone);
	
	Optional<TenantMember> loadByEmail(java.lang.String email);
	

 	void setTenantMemberStatus(Long id, Byte status);
}